home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / joe014.zip / JOE014.TAZ / JOE014.tar / .joerc next >
Text File  |  1992-01-23  |  8KB  |  340 lines

  1.                           Initializtaion file for JOE
  2.  
  3.  JOE looks for this file in:
  4.         1 - Current directory
  5.         2 - User's home directory
  6.         3 - /usr/bin  (or whatever KEYDEF was set to in the Makefile)
  7.  
  8.  Comments:
  9.    Any line beginning with whitespace is a comment line.  At least 2
  10.    characters of whitespace past the end of a line also begin a comment.
  11.  
  12.  FIRST SECTION:  File name dependant mode settings
  13.  
  14.  Each line with '*' in the first column indicates the modes which should be
  15.  set for a particular extension (or ending actually).  If there are more than
  16.  one of these lines which match a particular file name, then the last line
  17.  which matches the name is the one which is chosen.
  18.  
  19.  Here is a list of characters.  Each sets a particular mode.  If the character
  20.  is missing, then the mode shown in the parenthasis is set.
  21.  
  22.         a    autoindent (no auto indent)
  23.         o    overwrite  (insert)
  24.         p    picture mode (no picture mode)
  25.         w    word wrap (no word wrap)
  26.         t    tab magic (no tab magic)
  27.         nnn    right margin (default is 76)
  28.  
  29.  Here are the file name dependant mode setting lines:
  30.  
  31. *        wt76        Default for unknown extensions.  This line
  32.                 must appear first.
  33. *.c        at76        C programs
  34. *.h        at76        C header files
  35. *.p        at76        Pascal programs
  36. *.f        at76        Fortran programs
  37. *.joerc        at76        This file
  38.  
  39.  SECOND SECTION:  Lines between the { and the } are the on-line help text.  Use
  40.  \u to turn underline on or off.  Use \i to turn inverse on or off.  Use \\
  41.  to display \
  42.  
  43. {
  44. \i   Help Screen    turn off with ^KH                                            \i
  45. \i \i\uGO\u \uTO\u              \uDELETE\u    \uMISC\u      \uBLOCK\u    \uFIND\u     \uQUOTE\u    \uWINDOW\u     \i \i
  46. \i \i^B left  ^F right ^D single ^T  mode   ^KB mark ^KF text `  Ctrl  ^KO split  \i \i
  47. \i \i^Z word  ^X word  ^W >word  ^R  retype ^KK end  ^L  next ^\\ bit-7 ^KI 1 / all\i \i
  48. \i \i^A edge  ^E edge  ^O word<  ^KA center ^KC copy ^KL line \uFILE\u     ^KP up     \i \i
  49. \i \i^P up    ^N down  ^J >line  ^KJ format ^KM move \uEXIT\u     ^KD save ^KN down   \i \i
  50. \i \i^U page  ^V page  ^Y line   ^KZ shell  ^KW save ^KX save ^KR read ^KG grow   \i \i
  51. \i \i^KU top ^KV end   ^K- undo  ^K, indnt< ^KY kill ^C abort/         ^KT shrink \i \i
  52. \i \i^G matching ([<{` ^K+ redo  ^K. indnt> ^K0 subst   close window  ^KE get file\i \i
  53. \i \i\uMACROS\u: ^K[ record ^K] stop ^K/ play ^K= repeat                              \i \i
  54. }
  55.  
  56.  THIRD SECTION:  Key sequence to command bindings.  Use ^@ to ^_ and ^? to
  57.  specify control characters.  Use 'sp' specify the space character.
  58.  
  59.  A simple macro facility is provided:  commands separated by commas (no
  60.  whitespace) are executed sequentially.  For example:
  61.  
  62.  bof,eol    ^K 5            Goto end of first line
  63.  
  64.  Also, a quoted string may be placed in the command list to supply keyboard
  65.  input.  Inside the string: \\=\, \"=", and \r=return.  For example:
  66.  
  67.  "\r",saveit,wsplit,"m.out\r",wedit,setbeg,setend,"make\r",cmdblk    ^K 2
  68.  
  69.  Will save the file in the current window, make a new window, run "make" in a
  70.  shell and place the results in the new window when ^K 2 is pressed.
  71.  
  72.  Note how the quoted strings appear before the commands which require them.  A
  73.  special command 'wait' types any previous string in as if from the keyboard.
  74.  
  75.  For example:  "Hello\r",wait        ^K 7
  76.  Types "Hello" into the edit buffer when ^K 7 is pressed.
  77.  
  78. :main
  79. backs        ^H            Backspace
  80. backs        ^?
  81. backword    ^O            Backspace word
  82. bof        ^K U            Move cursor to beginning of file
  83. bof        ^K ^U
  84. bof        ^K u
  85. bol        ^A            Move cursor to beginning of line
  86. bol        ^[ [ H
  87. bol        ^K ^[ [ H
  88. bol        ^[ O P
  89. bol        ^K ^[ O P
  90. cmdblk        ^K 0            Pipe a marked block through a command
  91. cpyblk        ^K C            Copy previously marked block
  92. cpyblk        ^K ^C
  93. cpyblk        ^K c
  94. ctrlin        ^K A            Center line
  95. ctrlin        ^K ^A
  96. ctrlin        ^K a
  97. delblk        ^K Y            Delete previously marked block
  98. delblk        ^K ^Y
  99. delblk        ^K y
  100. delch        ^D            Delete character
  101.  deleol        ^J            Delete to end of line
  102. dellin        ^Y            Delete entire line
  103. dnarw        ^N            Move cursor down
  104. dnarw        ^[ [ B
  105. dnarw        ^[ O B
  106. dnarw        ^K ^[ [ B
  107. dnarw        ^K ^[ O B
  108. eexit        ^C            Exit (window/file)
  109. eexit        ^K Q
  110. eexit        ^K q
  111. eof        ^K V            Move cursor to end of file
  112. eof        ^K ^V
  113. eof        ^K v
  114. eol        ^E            Move cursor to end of line
  115. eol        ^[ [ F
  116. eol        ^K ^[ [ F
  117. eol        ^[ O S
  118. eol        ^K ^[ O S
  119. exsave        ^K X            Save & exit
  120. exsave        ^K ^X
  121. exsave        ^K x
  122. findfirst    ^K F            Find text
  123. findfirst    ^K ^F
  124. findfirst    ^K f
  125. findnext    ^L            Find next
  126. findline    ^K L            Goto line number
  127. findline    ^K ^L
  128. findline    ^K l
  129. gotomatching    ^G
  130. indentl        ^K ,            Indent left
  131. indentr        ^K .            Indent right
  132. insfil        ^K R            Insert a file
  133. insfil        ^K ^R
  134. insfil        ^K r
  135.  inss        ^G            Insert a space
  136. inss        ^[ [ L
  137. inss        ^K ^[ [ L
  138. killlin        ^J            Emacs-style kill line
  139. killword    ^W            Delete word under cursor
  140. ltarw        ^B            Move cursor left
  141. ltarw        ^[ [ D
  142. ltarw        ^K ^[ [ D
  143. ltarw        ^[ O D
  144. ltarw        ^K ^[ O D
  145. macrob        ^K [
  146. macroe        ^K ]
  147. macrodo        ^K /
  148. mode        ^T            Change mode
  149.  ooverwrite                Overwrite mode off
  150.  owrap                    Word wrap off
  151.  otabmagic                Tab magic off
  152.  oautoind                Auto-indent off
  153.  opic                    Picture mode off
  154.  ioverwrite                Overwrite on/off
  155.  iwrap                    Word wrap on/off
  156.  itabmagic                Tab Magic on/off
  157.  iautoind                Auto-indent on/off
  158.  ipic                    Picture mode on/off
  159.  setrmargin                Set right margin
  160. moveblk        ^K M            Move previously marked block
  161. moveblk        ^K ^M
  162. moveblk        ^K m
  163. pgdn        ^V            Move cursor 1/2 page down
  164. pgdn        ^[ [ G
  165. pgdn        ^K ^[ [ G
  166. pgdn        ^[ [ 6 ~
  167. pgdn        ^K ^[ [ 6 ~
  168. pgup        ^U            Move cursor 1/2 page up
  169. pgup        ^[ [ I
  170. pgup        ^K ^[ [ I
  171. pgup        ^[ [ 5 ~
  172. pgup        ^K ^[ [ 5 ~
  173.  push        ^K Z            Push to a shell
  174.  push        ^K ^Z
  175.  push        ^K z
  176. suspend        ^K Z            Suspend the editor or push to a shell
  177. suspend        ^K ^Z            if system doesn't have job control
  178. suspend        ^K z
  179. redo        ^K +            Redo
  180. reformat    ^K J            Reformat paragraph
  181. reformat    ^K ^J
  182. reformat    ^K j
  183. repeat        ^K =            Repeat
  184. rewrite        ^R            Retype screen
  185. rtarw        ^F            Move cursor right
  186. rtarw        ^[ [ C
  187. rtarw        ^K ^[ [ C
  188. rtarw        ^[ O C
  189. rtarw        ^K ^[ O C
  190. rtn        ^M            The return key
  191. saveit        ^K D            Save file
  192. saveit        ^K ^D
  193. saveit        ^K d
  194. saveit        ^K S
  195. saveit        ^K s
  196. setbeg        ^K B            Set beginning of block
  197. setbeg        ^K ^B
  198. setbeg        ^K b
  199. setend        ^K K            Set end of block
  200. setend        ^K ^K
  201. setend        ^K k
  202. stquote        `            Next character is a control character
  203. stquote8th    ^\            Next character has 7th bit set
  204. thelp        ^K H            Toggle help text on/off
  205. thelp        ^K ^H
  206. thelp        ^K h
  207. thelp        ^[ [ 2 8 ~
  208. thelp        ^K ^[ [ 2 8 ~
  209. undo        ^K -            Undelete
  210. uparw        ^P            Move cursor up
  211. uparw        ^[ [ A
  212. uparw        ^K ^[ [ A
  213. uparw        ^[ O A
  214. uparw        ^K ^[ O A
  215. wedit        ^K E            Edit another file
  216. wedit        ^K ^E
  217. wedit        ^K e
  218. wexplode    ^K I            Show 1 or all windows
  219. wexplode    ^K ^I
  220. wexplode    ^K i
  221. wgrow        ^K G            Grow window
  222. wgrow        ^K ^G
  223. wgrow        ^K g
  224. wnext        ^K N            Goto next window
  225. wnext        ^K ^N
  226. wnext        ^K n
  227. wprev        ^K P            Goto previous window
  228. wprev        ^K ^P
  229. wprev        ^K p
  230. wrdl        ^Z            Move to previous word
  231. wrdl        ^[ O Q
  232. wrdl        ^K ^[ O Q
  233. wrdr        ^X            Move to next word
  234. wrdr        ^[ O R
  235. wrdr        ^K ^[ O R
  236. writeblk    ^K W            Write previously marked block to a file
  237. writeblk    ^K ^W
  238. writeblk    ^K w
  239. wshrink        ^K T            Shrink window
  240. wshrink        ^K ^T
  241. wshrink        ^K t
  242. wsplit        ^K O            Split window
  243. wsplit        ^K ^O
  244. wsplit        ^K o
  245. type        ^I            Tab
  246. type        sp            Typable characters
  247. type        !
  248. type        "
  249. type        #       
  250. type        $
  251. type        %
  252. type        &
  253. type        '
  254. type        (
  255. type        )
  256. type        *
  257. type        +
  258. type        ,
  259. type        -
  260. type        .
  261. type        /
  262. type        0
  263. type        1
  264. type        2
  265. type        3
  266. type        4
  267. type        5
  268. type        6
  269. type        7
  270. type        8
  271. type        9
  272. type        :
  273. type        ;
  274. type        <
  275. type        =
  276. type        >
  277. type        ?
  278. type        @
  279. type        A
  280. type        B
  281. type        C
  282. type        D
  283. type        E
  284. type        F
  285. type        G
  286. type        H
  287. type        I
  288. type        J
  289. type        K
  290. type        L
  291. type        M
  292. type        N
  293. type        O
  294. type        P
  295. type        Q
  296. type        R
  297. type        S
  298. type        T
  299. type        U
  300. type        V
  301. type        W
  302. type        X
  303. type        Y
  304. type        Z
  305. type        [
  306. type        \
  307. type        ]
  308. type        ^
  309. type        _
  310. type        a
  311. type        b
  312. type        c
  313. type        d
  314. type        e
  315. type        f
  316. type        g
  317. type        h
  318. type        i
  319. type        j
  320. type        k
  321. type        l
  322. type        m
  323. type        n
  324. type        o
  325. type        p
  326. type        q
  327. type        r
  328. type        s
  329. type        t
  330. type        u
  331. type        v
  332. type        w
  333. type        x
  334. type        y
  335. type        z
  336. type        {
  337. type        |
  338. type        }
  339. type        ~
  340.